<template>
  <div id="centerRight2">
    <div class="bg-color-black">
      <div class="d-flex pt-2 pl-2">
        <span>
          <icon name="align-left" class="text-icon" />
        </span>
        <span class="fs-xl text mx-2">月累计产量排名</span>
      </div>
      <div class="d-flex ai-center flex-column body-box">
        <dv-capsule-chart class="dv-cap-chart" :config="config" />
      </div>
    </div>
  </div>
</template>

<script>

export default {
  data() {
    return {
      config: {
        data: [
          {
            name: '乙班',
            value: 594.4
          },
          {
            name: '甲班',
            value: 391.7
          },
          {
            name: '丙班',
            value: 390.4
          }
        ],
        showValue: true
      }
    }
  }
}
</script>

<style lang="scss" scoped>
  $box-height: 335px;
  $box-width: 100%;
#centerRight2 {
  padding: 20px 4px 20px 16px;
  height: $box-height;
  width: $box-width;
  border-radius: 5px;
  .bg-color-black {
    padding: 5px;
    height: $box-height - 35px;
    width: $box-width;
    border-radius: 10px;
  }
  .text {
    color: #c3cbde;
  }
  .body-box {
    border-radius: 10px;
    overflow: hidden;
    .dv-cap-chart {
      width: 90%;
      height: 270px;
      /*::v-deep(.unit-label) {*/
      /*  display: none;*/
      /*}*/
    }
  }
}
</style>
